/**
 * @Title: audit_router.js
 * @Description:稽核管理router
 * Copyright: Copyright (c) 2014 
 * Company:中国平安
 *
 * @Project MHIS-FWA
 * @author EX-FENGHE001
 * @date 2014年11月06日 下午11:17:06
 * @version V1.0
 */
;
(function(){
	'use strict';
	
	var app = angular.module('fwa.routers');
	app.config(['BaseURL','Config', function(baseUrl,Config){
		
		var states = Config.states;
		    
        /******************************
         ***********医院反馈***********
         ******************************/
		
        /**
         * 稽核--医院反馈
         */
        states.push({
            name:'auditFeedback',
            url:'/auditFeedback',
            data:{
                title:'稽核结果处理',
                tabRoot:'auditFeedback'
            },
            deepStateRedirect: true,
            sticky: true,
            views:{
                'auditFeedback@':{
                    templateUrl:baseUrl+'views/hcpms/feedback/audit/auditFeedback_view.html',
                    controller:'AuditFeedbackCtrl'
                }
            }
        });
        
        states.push({
            name:'thisLetter',
            url:'/thisLetter',
            data:{
                title:'稽核告知函',
                tabRoot:'thisLetter'
            },
            deepStateRedirect: true,
            sticky: true,
            views:{
                'thisLetter@':{
                    template:'<div class="full-width full-height" ui-view></div>',
                    controller:function(){
                    	
                    }
                }
            }
        });
        
        states.push({
            name:'thisLetter.confirm',
            url:'/thisLetterConfirm/{caseCode}',
            data:{
                title:'稽核告知函',
                tabRoot:'thisLetter'
            },
            views:{
                '@thisLetter':{
                    templateUrl:baseUrl+'views/hcpms/feedback/audit/auditFeedback_confirm_view.html',
                    controller:'AuditFeedbackDetailCtrl'
                }
            }
        });
        
        
        states.push({
            name:'thisLetter.detail',
            url:'/thisLetterDetail/{caseCode}',
            data:{
                title:'稽核告知函',
                tabRoot:'thisLetter'
            },
            views:{
                '@thisLetter':{
                    templateUrl:baseUrl+'views/hcpms/feedback/audit/auditFeedback_detail_view.html',
                    controller:'AuditFeedbackDetailCtrl'
                }
            }
        });
        
        
        // end
	}]);
})();
